package com.luoxue.execsql.rest.service.impl;

import com.luoxue.execsql.rest.bean.base.service.impl.BaseServiceImpl;
import com.luoxue.execsql.rest.entity.SysDataSource;
import com.luoxue.execsql.rest.mapper.DataSourceMapper;
import com.luoxue.execsql.rest.service.IDataSourceService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DataSourceServiceImpl extends BaseServiceImpl<SysDataSource, DataSourceMapper> implements IDataSourceService {

    public DataSourceServiceImpl(DataSourceMapper mapper) {
        super(mapper);
    }

    public List<SysDataSource> selectByCondition(SysDataSource sysDataSource) {
        return mapper.selectByCondition(sysDataSource);
    }
}
